package com.application.common;

import javax.validation.Validation;
import javax.validation.Validator;
import javax.validation.ValidatorFactory;

public class ValidationUtil {
    private final static ValidatorFactory validatorFactory = Validation.buildDefaultValidatorFactory();
    private final static Validator validator = validatorFactory.getValidator();
    
   // public <T> Set<ConstraintViolaton<T>> validator(T t){
   // 	return validator.validate(t);
   // }
}
